[Unit]
Description=Web application goapp
After=network.target
[Service]
Type=simple
PIDFile=/apps/goapp/shared/tmp/pids/service.pid
WorkingDirectory=/apps/goapp

User=ubuntu
Group=ubuntu

Environment=GO111MODULE=auto

OOMScoreAdjust=-100

ExecStart=/apps/goapp/goapp
TimeoutSec=5

[Install]
WantedBy=multi-user.target